//
//  GLBullet.m
//  QAQ打飞机
//
//  Created by admin on 15/8/31.
//  Copyright (c) 2015年 gl. All rights reserved.
//

#import "GLBullet.h"
#define kNormalDamage  1
#define kEnhancedDamage 2
@implementation GLBullet
+(id)bulletWithPosition:(CGPoint)position size:(CGSize)size enhanced:(BOOL)bEnhanced
{
    GLBullet *b =[[GLBullet alloc]init];
    //初始化
    b.position =position;
    b.size =size;
    b.bEnhanced =bEnhanced;
    b.damage =bEnhanced ? kEnhancedDamage :kNormalDamage;
    
    return b;
}
@end
